package com.bird.component.security.common.util

import cn.dev33.satoken.stp.StpUtil
/**
 * 获取登入用户id
 */
fun userId(): Long? {
    return (StpUtil.getLoginId() as String).toLong()
}

